#pragma once
#include <string>

namespace CXLib {
	/// <summary>
	/// Convert wide string to UTF-8
    /// </summary>
    /// <param name="src">The wide string to convert</param>
    /// <returns>The UTF-8 encoded string</returns>
	std::string cxStrWideToUtf8(const wchar_t* src);

	/// <summary>
	/// Convert UTF-8 string to wide string
	/// </summary>
	/// <param name="src">The UTF-8 encoded string to convert</param>
	/// <returns>The wide string</returns>
	std::wstring cxStrUtf8ToWide(const char* src);
}


